



<form action="./m.php?frm=action&mdl=index" name="iForm" id="iForm" method="post" target="eBody">
	<input type="hidden" name="id" id="id" value="{$info.id}" />
	<input type="hidden" name="json" id="json" value="" />
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<caption>
		{$_page.caption}
		</caption>
		<tbody>
			<tr>
				<th style="width:120px;">{$l.name}：</th>
				<td><input type="text" name="name" id="name" value="{$info.name}" class="input" style="width:240px;" /></td>
			</tr>
			<tr>
				<th>{$l.deadline}{$l.time}：</th>
				<td><input type="text" name="deadline" id="deadline" value="{$info.deadline}" class="input" style="width:140px;" /></td>
			</tr>
			<tr>
				<th>{$l.rank}：</th>
				<td><input type="text" name="rank" id="rank" value="{$info.rank}" class="input" style="width:80px;" />
					<span id="rank_tip">整数，越大越靠前</span></td>
			</tr>
			<tr>
				<th>{$l.memo}：</th>
				<td><textarea name="memo" id="memo" class="textarea" style="width:480px;">{$info.memo}</textarea></td>
			</tr>
			<tr>
				<th>{$l.membership}：</th>
				<td><!-- -->
					<table>
						<tbody>
							<tr>
								<th valign="top" style="width:80px;"><!-- -->
									<input type="button" id="btnChild" value="Add Child" class="button" />
									<br />
									<br />
									<br />
									<br />
									<br />
									<br />
									<input type="button" id="btnDel" value="Delete" class="button" />
								</th>
								<td valign="top"><!-- -->
									<ul id="member">
										<li id="root">
											<p><span class="label"></span>
												<select class="select">{$info.manager_options}</select>
											</p>
										</li>
									</ul>
									<!-- --></td>
							</tr>
						</tbody>
					</table>
					<!-- --></td>
			</tr>
		</tbody>
	</table>
	<!--  -->
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<tfoot id="cmd">
			<tr>
				<td><div class="btns">
						<input type="button" name="btnSubmit" id="btnSubmit" value="{$l.ok}" class="button" />
					</div></td>
			</tr>
		</tfoot>
	</table>
</form>

<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$_s.js_dir}jQuery/jquery.json.js"></script>
<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	
	eval('var json_managers = {$info.json_managers}');
	eval('var json_left = {$info.json_managers}');
	//var json_left = $.json.decode('{$info.json_managers}');
	var _tree = '{$info.tree}';
	
	var deadline = '{$info.deadline}';
	{literal}
	try{
		eval('var tree = '+_tree);
	}catch(e){tree = -1;}
	jQuery(function($){

		$('#deadline').datetimepicker({
			numberOfMonths		: 3				// 多月显示
			,changeMonth		: true			//设置月可选择
			,changeYear			: true			//设置年可选择
			,yearRange			: "-50:+5"		//设置年上下年份
			,showSecond			: true			// 显示秒
			,timeFormat			: 'hh:mm:ss'	// 时间格式
			// ,hourGrid			: 4				// 小时游标
   			// ,minuteGrid			: 5				// 分钟游标
   			// ,secondGrid			: 5				// 秒钟游标
		}).val(deadline);
		
	});
	{/literal}
-->
</script>
<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$_s.js_dir}m/system.group.js"></script>
